﻿#include "BaseDeviceFactory.h"
#include "SpectroMeter/BaseSpectroMeter.h"
#include "SpectroMeter/SpectroMeterControl.h"

BaseDeviceFactory::BaseDeviceFactory()
{
}

BaseItem *BaseDeviceFactory::CreateInstance(QString concreteType)
{
    if(concreteType=="SpectroMeterControl")
    {
        return &SpectroMeterControl::Instance();
    }
    return BaseFactory::CreateInstance(concreteType);
}
